package com.ruoyi.project.king.noticeType.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 公告对象 cms_notice_type
 * 
 * @author ruoyi
 * @date 2020-05-21
 */
public class CmsNoticeType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long tid;

    /** 公告类别名称 */
    @Excel(name = "公告类别名称")
    private String tname;

    /** 类别备注 */
    @Excel(name = "类别备注")
    private String tdesc;

    /** 备选字段 */
    @Excel(name = "备选字段")
    private String bx;

    public void setTid(Long tid) 
    {
        this.tid = tid;
    }

    public Long getTid() 
    {
        return tid;
    }
    public void setTname(String tname) 
    {
        this.tname = tname;
    }

    public String getTname() 
    {
        return tname;
    }
    public void setTdesc(String tdesc) 
    {
        this.tdesc = tdesc;
    }

    public String getTdesc() 
    {
        return tdesc;
    }
    public void setBx(String bx) 
    {
        this.bx = bx;
    }

    public String getBx() 
    {
        return bx;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tid", getTid())
            .append("tname", getTname())
            .append("tdesc", getTdesc())
            .append("bx", getBx())
            .toString();
    }
}
